<?php  $wb = Engine_Api::_()->getApi('settings','core')->getSetting('webmix.webmix.background','#FFFFFF'); ?>
<div class="desktop editable" style="display: block; background: <?php echo $wb?>; ">
    <div class="grid fix_main_webmix">
        <?php $id = $this->parent_id; if(empty($id)) $id = $this->webmix_id ?>
        <?php echo $this->partial('grid/cell.tpl','webmix',array('webmix_id'=>$this->webmix_id)) ?>
        <?php echo $this->partial('grid/block.tpl','webmix',array('webmix_id'=>$id,'ajax'=>!$this->default)) ?>

    </div>
</div>
<?php if($this->default):?>
<script type="text/javascript">
    webmix_tab_<?php echo $this->webmix_id ?> = new webmix($('filling-<?php echo $this->webmix_id?>'),$('cells-<?php echo $this->webmix_id?>'),<?php echo $this->webmix_id?>,Fx.Transitions.Back.easeOut,500,'<?php echo $this->type?>',<?php echo $this->parent?>);
    
</script>
<?php endif;?>